/**
 * 用户 请求统一管理
 */
import Request from '../common/request';

//跑马灯
export const pmd = () => Request.get('user/pmd');

//签到
export const qd = () => Request.get('user/qiandao');

//用户登录
export const login = (data) => Request.post('user/login',data);

//用户忘记密码
export const loginPassword = (data) => Request.post('user/login_password',data);

//用户注册
export const register = (data) => Request.post('user/register',data);

//获取验证码
export const sendRegVerify = (data) => Request.post('user/send_reg_verify',data);

//获取用户信息
export const xinxi = () => Request.get('user/xinxi'); 

//上传图片
export const uploadImg = (data) => Request.post('user/upload_img',data); 

//身份认证
export const shiming = (data) => Request.post('user/shiming',data); 

//绑定银行卡
export const addbank = (data) => Request.post('user/addbank',data); 

//银行卡列表
export const banklist = () => Request.post('user/banklist'); 

//收款方式修改
export const editbank = (data) => Request.post('user/editbank',data); 

//个人信息修改
export const editinfo = (data) => Request.post('user/editinfo',data); 

//交易密码修改
export const jiaoyiPassword = (data) => Request.post('user/jiaoyi_password',data); 

//登录密码修改
export const updatePassword = (data) => Request.post('user/update_password',data); 

//我的团队
export const teaminfo = (data) => Request.post('user/teaminfo',data); 

//客服
export const kefu = (data) => Request.post('user/kefu',data); 

//推广收益兑换
export const exchange = (data) => Request.post('user/exchange',data);

//退出登录
export const logout = () => Request.post('user/logout'); 